package cn.fl.product.service;


import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.product.vo.SplStepRebatesVO;
import fl.spl.facade.splrebates.condition.SplStepRebatesInfoQC;

import java.util.List;

public interface ISplStepRebatesService {

    /**
     * 不分页查询所有记录
     * @param condition
     * @return voList
     * */
    public List<SplStepRebatesVO> searchList(SplStepRebatesInfoQC condition) throws BaseException;

    /**
     * 分页查询所有记录
     * @param page
     * @return pager
     * */
    public Pager searchListPage(Pager page) throws BaseException ;

    /**
     * 新增
     * @param vo
     * @return id
     * */
    public Long add(SplStepRebatesVO vo) throws BaseException ;

    /**
     * 修改
     * @param vo
     * @return b
     * */
    public boolean modufy(SplStepRebatesVO vo) throws BaseException ;

    public SplStepRebatesVO getVOById(Long id) throws BaseException ;

}
